package com.site.wisdom_construction.service.publicModule;

import com.site.wisdom_construction.dao.publicModule.TeamDao;
import com.site.wisdom_construction.entity.publicModule.Team;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/1
 * @Description
 */
@Service
public class TeamService implements TeamDao {
    @Autowired
    private TeamDao teamDao;

    @Override
    public int insertTeam(Map map) {
        return teamDao.insertTeam(map);
    }

    @Override
    public int deleteTeam(Map map) {
        return teamDao.deleteTeam(map);
    }

    @Override
    public int updateTeam(Map map) {
        return teamDao.updateTeam(map);
    }

    @Override
    public List<Team> findTeamByPage(Map map) {
        return teamDao.findTeamByPage(map);
    }

    @Override
    public long Total(Map map) {
        return teamDao.Total(map);
    }

    @Override
    public List<Team> selectTeam(Map map) {
        return teamDao.selectTeam(map);
    }
}
